package com.example.emos.api.service;

import com.example.emos.api.common.util.PageUtils;
import com.example.emos.api.db.pojo.TbUser;

import java.util.HashMap;

/**
 * @author ：Supyo
 * @date ：Created in 2021/11/15 13:28
 * @description：
 */
public interface UserService {

    public Integer login(HashMap param);

    public int updatePassword(HashMap param);

    public PageUtils searchUserByPage(HashMap param);

    public int insert(TbUser user);

    public HashMap searchUserSummary(int userId);

    public TbUser selectUserById(Integer id);

    public int update(HashMap param);

    public int deleteUserByIds(Integer[] ids);

    public int updateStatusByIds(int id, int status1);

    public HashMap selectUserById1(Integer id);

    public int leave(Integer id);
}
